package com.defangit.production.domain;

import java.time.LocalDateTime;
import java.util.List;

public class Message {
    private String tipc;
    private Operator producer;
    private String content;
    private List<Operator> consumers;
    private LocalDateTime createTime;

    public String getTipc() {
        return tipc;
    }

    public Message setTipc(String tipc) {
        this.tipc = tipc;
        return this;
    }

    public Operator getProducer() {
        return producer;
    }

    public Message setProducer(Operator producer) {
        this.producer = producer;
        return this;
    }

    public String getContent() {
        return content;
    }

    public Message setContent(String content) {
        this.content = content;
        return this;
    }

    public List<Operator> getConsumers() {
        return consumers;
    }

    public Message setConsumers(List<Operator> consumers) {
        this.consumers = consumers;
        return this;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public Message setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
        return this;
    }
}
